using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace Business.ReturnManagement.Dto
{
    public class CreateOrUpdateReturnDto: EntityDto<Guid?>
    {
        
        /// <summary>
        /// 单据编号
        /// </summary>
        [Required]
        public string Code { get; set; }
        
        /// <summary>
        /// 商品总额
        /// </summary>
        [Required]
        public decimal Goodtotal { get; set; }
        
        /// <summary>
        /// 业务日期
        /// </summary>
        [Required]
        public DateTime Businessdate { get; set; }
        
        /// <summary>
        /// 商品总量
        /// </summary>
        [Required]
        public int Goodzong { get; set; }
        
        /// <summary>
        /// 结算状态
        /// </summary>
        [Required]
        public int State { get; set; }
        
        /// <summary>
        /// 采购退货总额
        /// </summary>
        [Required]
        public decimal Zong { get; set; }
        
        /// <summary>
        /// 业务类型
        /// </summary>
        [Required]
        public int Businesstyps { get; set; }
        
        /// <summary>
        /// 采购退货订单
        /// </summary>
        [Required]
        public string Order { get; set; }
        
        /// <summary>
        /// 仓库
        /// </summary>
        [Required]
        public int Warehouse { get; set; }
        
        /// <summary>
        /// 退货运费
        /// </summary>
        [Required]
        public decimal Yunfei { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [Required]
        public string Remark { get; set; }
        
        /// <summary>
        /// 操作员
        /// </summary>
        [Required]
        public string Name { get; set; }
        
        /// <summary>
        /// 最后修改时间
        /// </summary>
        [Required]
        public DateTime UpdateTime { get; set; }
        
        /// <summary>
        /// 操作时间
        /// </summary>
        [Required]
        public DateTime Times { get; set; }
        
        /// <summary>
        /// 供应商
        /// </summary>
        [Required]
        public int Gong { get; set; }
        
        /// <summary>
        /// 业务员
        /// </summary>
        [Required]
        public int Salesman { get; set; }
        
    }
}